package top.codecrab.springcloud.client;

import org.springframework.stereotype.Component;

/**
 * @author codecrab
 * @since 2021年05月17日 16:04
 */
@Component
public class PaymentFallback implements PaymentHystrixClient {

    @Override
    public String paymentInfo_OK(Integer id) {
        return "服务调用失败，提示来自：paymentInfo_OK";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "服务调用失败，提示来自：paymentInfo_TimeOut";
    }
}
